CC = gcc
CFLAGS = -c
OPT = -O3

all: random streams
	
random: randomN.c
	$(CC) $(OPT) randomN.c -o randomN.out

streams: streams.c streams.h
	$(CC) $(OPT) streams.c -o streams.out

cleanresult:
	rm -f data/result

cleandata:
	rm -f data/*.data

clean:
	rm -f streams.out randomN.out
	rm -f data/result
	rm -f data/*.data
